﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace FileIndexer.Model
{
   public class WordMatchModel: ModelBase
    {
        public int MatchCount
        {
            get { return _MatchCount; }
            set
            {
                if (_MatchCount != value)
                {
                    _MatchCount = value;
                    OnPropertyChanged(MatchCountPropertyName);
                }
            }
        }
        private int _MatchCount;
        public const string MatchCountPropertyName = "MatchCount";


        public string Type
        {
            get { return _Type; }
            set
            {
                if (_Type != value)
                {
                    _Type = value;
                    OnPropertyChanged(TypePropertyName);
                }
            }
        }
        private string _Type;
        public const string TypePropertyName = "Type";

        public long IdDocument
        {
            get { return _IdDocument; }
            set
            {
                if (_IdDocument != value)
                {
                    _IdDocument = value;
                    OnPropertyChanged(IdDocumentPropertyName);
                }
            }
        }
        private long _IdDocument;
        public const string IdDocumentPropertyName = "IdDocument";

        public long IdWordMatch
        {
            get { return _IdWordMatch; }
            set
            {
                if (_IdWordMatch != value)
                {
                    _IdWordMatch = value;
                    OnPropertyChanged(IdWordMatchPropertyName);
                }
            }
        }
        private long _IdWordMatch;
        public const string IdWordMatchPropertyName = "IdWordMatch";



    }
}
